<template>
  <view class="pageStyle">
	<!-- <g-watermark/> -->
    <web-view :src="urls"></web-view>
  </view>
</template>
<script>
import { Api } from "@/utils/Api.js";
import { mapState } from "vuex";
export default {
  data() {
    return {
      describe: "我的流程",
      url: {
        list: "/m/flow/listAttendPage?skey=",
      },
      // urls: "",
    };
  },
  onLoad(options) {
    // let records = JSON.parse(options.record);
    // 动态获取webview链接
    // this.urls =
    //   Api.baseUrl +
    //   "/" +
    //   records.code +
    //   "?skey=" +
    //   this.loginInfo.skey +
    //   "&isUniWebview=true";
  },
  computed: {
    ...mapState(["loginInfo"]),
    urls() {
      let urls = Api.baseUrl + this.url.list + this.loginInfo.skey + "&isUniWebview=true";
      return urls;
    },
  },
};
</script>

<style lang="scss" scoped>
</style>
